<?php
namespace app\validate;

use think\Validate;

class UserAuth extends Validate
{
    protected $rule = [
        'name' => 'require',
        'cardno' => 'require',
        'type' => 'require',
    ];

    protected $message = [
        'name.require' => '请输入名字',
        'cardno.require' => '请输入身份证',
        'type.require' => '请选择实名认证类型',
    ];

}